import Vue from 'vue';
import App from './App';
import Http from '@/utils/Http';
// #ifdef H5
import Wechat from '@/service/Wechat.js'
// #endif

Vue.config.productionTip = false

App.mpType = 'app'
Vue.prototype.$request = Http.request;
Vue.prototype.$get = Http.get;
Vue.prototype.$post = Http.post;
Vue.prototype.$upload = Http.upload;
Vue.prototype.$api = Http.api;
Vue.prototype.$link = Http.link;
Vue.prototype.$saveFormId = Http.saveFormId

// #ifdef H5
Vue.prototype.$wechat = Wechat;
// #endif
// #ifndef H5
Vue.prototype.$wechat = {};
// #endif
const app = new Vue({
	...App
})
app.$mount()
